import request from '@/utils/request'
// 标签API

// 标签列表
export function getTags(params) {
  return request({
    url: '/tag/list',
    method: 'get',
    params
  })
}

// 删除标签
export function delTag(params) {
  return request({
    url: `/tag/delete`,
    method: 'delete',
    params
  })
}
// 新增标签
export function saveTag(data) {
  return request({
    url: '/tag/save',
    method: 'post',
    data
  })
}
